package com.ylr.blog.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wyw
 * date: 2023-05-25 16:35:47
 * className: AuditBlogEnum
 * version: 1.0
 * description:
 */
@Getter
@AllArgsConstructor
public enum AuditBlogEnum {

    /*
        待审核博客表字段枚举值
     */
    // 审核状态[0-待审核 1-审核完成 2-审核终止]
    WAIT(0, "待审核"),
    FINISH(1, "审核完成"),
    STOP(2, "审核终止")
    ;

    /**
     * 值
     */
    private final Integer value;

    /**
     * 名称
     */
    private final String name;

}
